package online.foxnull2.foxmall.auth.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("foxmall-oss")
public interface OSSFeginService {

    @GetMapping("/mail/send")
    void sendSimpleMessage(@RequestParam("to") String to, @RequestParam("subject") String subject, @RequestParam("text") String text);
}
